package com.team.kgc.grade.service;

import com.github.pagehelper.PageInfo;
import com.team.kgc.grade.entity.Student;
import com.team.kgc.grade.entity.StudentCondtion;

import java.util.List;
import java.util.Map;

public interface StudentService {
    List<Student> getAllStudent();  //查所有学生
    int deleteStudent(Integer xh);  //删除
    void deleteStudentByGid(Integer gid); //根据gid删除
    int addStudent(Student stu);  //添加
    Student selectOneStu(Integer xh);  //查单条
    int updateStu (Student stu);  //修改

    //PageInfo<Student> selectStuByPage(Integer page,Integer pageSize);//分页

    PageInfo<Student> selectStuByCondtion(StudentCondtion sc);//分页链接查询


}
